package io.renren.modules.biz.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * 抢红包会员表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-09-03 14:51:31
 */
@TableName("tb_grab_packet")
public class GrabPacketEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Long id;
	/**
	 * 发包表主键
	 */
	private Long sendPacketId;
	/**
	 * 抢包会员
	 */
	private Long grabMemberId;
	/**
	 * 是否为机器人 0:否 1:是
	 */
	private Integer isRobot;
	/**
	 * 抢包金额
	 */
	private Double grabAmount;
	/**
	 * 是否踩雷 0:否 1:是
	 */
	private Integer isLandmine;
	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 房间ID
	 */
	private Long roomId;

	/**
	 * 踩雷金额
	 */
	private Double landmineAmount;

	/**
	 * 房间名
	 */
	@TableField(exist = false)
	private String roomName;
	/**
	 * 头像
	 */
	@TableField(exist = false)
	private String headImg;
	/**
	 * 抢包者手机
	 */
	@TableField(exist = false)
	private String mobile;

	/**
	 * 设置：主键
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取：主键
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置：发包表主键
	 */
	public void setSendPacketId(Long sendPacketId) {
		this.sendPacketId = sendPacketId;
	}

	/**
	 * 获取：发包表主键
	 */
	public Long getSendPacketId() {
		return sendPacketId;
	}

	/**
	 * 设置：抢包会员
	 */
	public void setGrabMemberId(Long grabMemberId) {
		this.grabMemberId = grabMemberId;
	}

	/**
	 * 获取：抢包会员
	 */
	public Long getGrabMemberId() {
		return grabMemberId;
	}

	/**
	 * 获取：是否为机器人 0:否 1:是
	 */
	public void setIsRobot(Integer isRobot) {
		this.isRobot = isRobot;
	}

	/**
	 * 获取：是否为机器人 0:否 1:是
	 */
	public Integer getIsRobot() {
		return isRobot;
	}

	/**
	 * 设置：抢包金额
	 */
	public void setGrabAmount(Double grabAmount) {
		this.grabAmount = grabAmount;
	}

	/**
	 * 获取：抢包金额
	 */
	public Double getGrabAmount() {
		return grabAmount;
	}

	/**
	 * 设置：是否踩雷 0:否 1:是
	 */
	public void setIsLandmine(Integer isLandmine) {
		this.isLandmine = isLandmine;
	}

	/**
	 * 获取：是否踩雷 0:否 1:是
	 */
	public Integer getIsLandmine() {
		return isLandmine;
	}

	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}

	public Long getRoomId() {
		return roomId;
	}

	public void setRoomId(Long roomId) {
		this.roomId = roomId;
	}

	public String getRoomName() {
		return roomName;
	}

	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}

	public String getHeadImg() {
		return headImg;
	}

	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Double getLandmineAmount() {
		return landmineAmount;
	}

	public void setLandmineAmount(Double landmineAmount) {
		this.landmineAmount = landmineAmount;
	}
}
